package org.raymond.icloud.modules.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.raymond.icloud.apis.admin.entity.TSysUser;
import org.raymond.icloud.apis.admin.vo.UserInfoVO;
import org.raymond.icloud.apis.admin.vo.entity.SysPermissionVO;

import java.util.List;

public interface ITSysUserService extends IService<TSysUser> {

    TSysUser findByUsername(String username);

    boolean createRandomUser(int count);

    UserInfoVO currentUserInfo();

    List<SysPermissionVO> currentUserPermissions();
}
